package cacco.jp.mld.panel.util;

import java.util.Properties;
import java.util.PropertyResourceBundle;
import java.util.ResourceBundle;

public class PropertiesUtil {
	 private static final String CONFIG_PATH = "../../../../../../../config.properties";
	    private static final String CONFIG_KEY = "config_properties";
	    private static Properties props;
	    private static ResourceBundle myResources;

	    static {
	        myResources = PropertyResourceBundle.getBundle("config");
	    }

		
		public PropertiesUtil() {
		}

		
	    public static String getProperty(String key) {
	        return getProperties().getString(key);
	    }
	    
	    private static ResourceBundle getProperties() {
	        return myResources;
	    }

}